﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pie & Donut chart</title>
</head>

<body>
<!-- saved from url=(0013)about:internet -->
<!-- ampie script-->
  <script type="text/javascript" src="swfobject.js"></script>
	<div id="flashcontent"style="float:left;">
		<strong>You need to upgrade your Flash Player</strong>
	</div>

    <div id="Div1" style="float:right;">
		<strong>You need to upgrade your Flash Player</strong>
	</div>
	<script type="text/javascript">
		// <![CDATA[		
		var so = new SWFObject("ampie.swf", "ampie", "520", "400", "8", "#FFFFFF");
		so.addVariable("path", "");
		so.addVariable("settings_file", encodeURIComponent("kampie_settings.xml"));                // you can set two or more different settings files here (separated by commas)
		so.addVariable("data_file", encodeURIComponent("<settings><pie><slice title=\"海尔电视\">999</slice></pie></settings>"));
    		
//	so.addVariable("chart_data", encodeURIComponent("<settings>...</settings>"));                   // you can pass chart data as a string directly from this file
//	so.addVariable("chart_settings", encodeURIComponent("data in CSV or XML format"));              // you can pass chart settings as a string directly from this file
//	so.addVariable("additional_chart_settings", encodeURIComponent("<settings>...</settings>"));    // you can append some chart settings to the loaded ones
//  so.addVariable("loading_settings", "LOADING SETTINGS");                                         // you can set custom "loading settings" text here
//  so.addVariable("loading_data", "LOADING DATA");                                                 // you can set custom "loading data" text here
//  so.addVariable("preloader_color", "#999999");
//  so.addVariable("error_loading_file", "ERROR LOADING FILE");                                     // you can set custom "error loading file" text here
		so.write("flashcontent");
	    // ]]>

		// <![CDATA[		
		var so = new SWFObject("ampie.swf", "ampie", "520", "400", "8", "#FFFFFF");
		so.addVariable("path", "");
		so.addVariable("settings_file", encodeURIComponent("kampie_settings.xml"));                // you can set two or more different settings files here (separated by commas)
		so.addVariable("chart_data", encodeURIComponent("<pie><slice title=\"海尔电视\">999</slice></pie>"));

		//	so.addVariable("chart_data", encodeURIComponent("<settings>...</settings>"));                   // you can pass chart data as a string directly from this file
		//	so.addVariable("chart_settings", encodeURIComponent("data in CSV or XML format"));              // you can pass chart settings as a string directly from this file
		//	so.addVariable("additional_chart_settings", encodeURIComponent("<settings>...</settings>"));    // you can append some chart settings to the loaded ones
		//  so.addVariable("loading_settings", "LOADING SETTINGS");                                         // you can set custom "loading settings" text here
		//  so.addVariable("loading_data", "LOADING DATA");                                                 // you can set custom "loading data" text here
		//  so.addVariable("preloader_color", "#999999");
		//  so.addVariable("error_loading_file", "ERROR LOADING FILE");                                     // you can set custom "error loading file" text here
		so.write("Div1");
		// ]]>
	</script>
<!-- end of ampie script -->
</body>
</html>
